/*
 * IDNode.cpp
 *
 *  Created on: 28 Sep 2011
 *      Author: s0965328
 */

#include "IDNode.h"


IDNode::IDNode(const string& new_name, long new_stochparent) :
   SyntaxNode(ID), name(new_name), stochparent(new_stochparent) {

	LOG("IDNode constructor called  - opCode["<<ID<<"] ID["<<new_name<<"]");
}

void IDNode::findOpCode(int oc, list<SyntaxNode*> *lnd) {
   if(oc==ID) lnd->push_back(this);
}
